﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using MakeIT.Deo.Negocios;

namespace MakeIT.Deo.Apresentacao
{
    public partial class Destaques : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            List<familia> listaFamilia = new FamiliaBO().RecuperaFamilia();
            this.RepeaterFamilia.DataSource = listaFamilia;
            this.RepeaterFamilia.DataBind();

            this.LiteralCapCount.Text = (listaFamilia != null?listaFamilia.Count-1:0).ToString();

        }
    }
}